package com.yunji.hushuang.adapter;

/**
 * @author hushuang
 * @since 2019/10/31
 */
public class Android implements IFormatAndroid {

    private boolean isConnected;

    @Override
    public void connectByMicroUsb() {
        this.isConnected = true;
    }

    @Override
    public void recharge() {
        if (isConnected) {
            System.out.println("Android is recharging...");
        }
    }
}
